package com.tmxk.days01.carrental_wmh;

public class Bus extends MotoVehicle {
    private String seatCount;

    public String getSeatCount() {
        return seatCount;
    }

    public void setSeatCount(String seatCount) {
        this.seatCount = seatCount;
    }

    public Bus() {

    }
    public Bus(String brand, String vehicleId, int perRent) {
        super(brand, vehicleId, perRent);
    }

    @Override
    public float calRent(int days) {
        return 0;
    }

    public Bus(String brand, String vehicleId, int perRent, String seatCount) {
        super(brand, vehicleId, perRent);
        this.seatCount = seatCount;
    }

    @Override
    public String toString() {
        return super.toString() + "Bus{" +
                "seatCount='" + seatCount + '\'' +
                '}';
        //return getBrand() + "\t" + getType() + getVehicleId()+ "\t" + getPerRent()
    }
}
